﻿CREATE PROCEDURE [acms].[User_GetCount]
	@SiteId int
AS
	SELECT Count(id)
	From acms.User_View
	Where isNull(SiteId, @SiteId) = @SiteId
RETURN 0